import requests
import threading


def fetch_url(url):
    while True:
        try:
            # 忽略 SSL 验证
            req = requests.get(url, verify=False)
            print(req.text)
        except requests.RequestException as e:
            print(f"请求 {url} 时出错: {e}")


if __name__ == "__main__":
    urls = ['https://www.8xmx8.online/?p=171',
            'https://www.8xmx8.online/?p=124',
            'https://www.8xmx8.online/?p=107',
            'https://www.8xmx8.online/?p=166']  # 示例，可根据需求修改 URL 列表和数量
    threads = []

    for url in urls:
        thread = threading.Thread(target=fetch_url, args=(url,))
        threads.append(thread)
        thread.start()

    for thread in threads:
        thread.join()
